package com.example.springboot_13_redis_session.repository;

import com.example.springboot_13_redis_session.pojo.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @auther cangshufeilun
 * @date 2022/4/8 19:23
 */
public interface UserRepository extends JpaRepository<User,Long> {
    public User findByUsernameAndPassword(String username,String password);
}
